import { request, instance } from "./request";

//获取业务类型
export const getBusiness = () => {
  return request({
    url: "/index/business",
    method: "get",
  });
};

//获取业务类型
export const getTransport = () => {
  return request({
    url: "/index/transport",
    method: "get",
  });
};

export const getChannelReceipt = (data) => {
  return instance({
    url: "/Order/channelReceipt",
    method: "post",
    data,
  });
};

//获取结算周期列表
export const getSettlementType = (data) => {
  return request({
    url: "/index/settlementType",
    method: "post",
    data,
  });
};
